<!-- apps/BACKEND/templates/layout.php -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Administración Save Energy</title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php use_stylesheet('admin.css') ?>
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
  </head>
  <body>
    <div id="container">
      <div id="header">
        <h1>
          <a href="<?php echo url_for('homepage') ?>">
            <img src="/images/logo.jpg" alt="Save Energy" />
          </a>
        </h1>
      </div>

      <div id="menu">
        <ul>
            <li>
            <?php echo link_to('Contratos', 'contrato') ?>
          </li>
            <li>
            <?php echo link_to('Facturas', 'factura') ?>
          </li>
          <li>
            <?php echo link_to('Clientes', 'cliente') ?>
          </li>
          <li>
            <?php echo link_to('Comerciales', 'comercial') ?>
          </li>
            <li>
            <?php echo link_to('Delegaciones', 'delegacion') ?>
          </li>
          <li>
            <?php echo link_to('Compañias', 'compania') ?>
          </li>
          <li>
            <?php echo link_to('Tarifas', 'tarifa') ?>
          </li>
            <li>
            |
          </li>
            <li>
            <?php echo link_to('Comisiones C.Electricas', 'comision') ?>
          </li>
        </ul>
      </div>

      <div id="content">
        <?php echo $sf_content ?>
      </div>

      <div id="footer">
       
      </div>
    </div>
  </body>
</html>